package com.tiancheng.trade.order.vo.api;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * @Auther: liudong
 * @Date: 2024/3/20 13:43
 * @Param ${tags}
 * @Description:
 */
@Getter
@Setter
@ToString
public class PayVerificationNotifyVO {
    @NotNull
    private String flowId; //支付流水号

    @NotNull
    private int verifiedAmount; //核销金额

    @NotNull
    private String subOrderId; //子订单号

    private Long verificationId;

    private String orderId;

    private String paymentId;

    @NotNull
    private String userId; //用户id

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime verifiedTime;

}
